<%@ page contentType="text/html; charset=UTF-8" %>

<%@include file="/html/init.jsp" %>

<%  
//标题
	String chart_title_text = GetterUtil.getString(PrefsParamUtil.getString(portletPreferences, request,"chart_title_text"),StringPool.NULL_CHAR);
//提示框触发类型
	String chart_tooltip_trigger = GetterUtil.getString(PrefsParamUtil.getString(portletPreferences, request,"chart_tooltip_trigger"),"axis");
//图例
	boolean chart_legend_show = GetterUtil.getBoolean(PrefsParamUtil.getBoolean(portletPreferences, request,"chart_legend_show"),true);
	String chart_legend_orient = GetterUtil.getString(PrefsParamUtil.getString(portletPreferences, request,"chart_legend_orient"),"horizontal");
//X轴
	String chart_xAxis_type = GetterUtil.getString(PrefsParamUtil.getString(portletPreferences, request,"chart_xAxis_type"),"category");
	String chart_xAxis_data = GetterUtil.getString(PrefsParamUtil.getString(portletPreferences, request,"chart_xAxis_data"),StringPool.NULL_CHAR);
	String[] chart_xAxis_data_eval=StringUtil.split(chart_xAxis_data, ',');
//Y轴	
	String chart_yAxis_type = GetterUtil.getString(PrefsParamUtil.getString(portletPreferences, request,"chart_yAxis_type"),"value");
//系列	
	int[] chart_series_indexes = null;

	String chart_series_indexes_param = PrefsParamUtil.getString(portletPreferences, request, "chart_series_indexes");

	if (Validator.isNotNull(chart_series_indexes_param)) {
		chart_series_indexes = StringUtil.split(chart_series_indexes_param, 0);
	}
	else {
		chart_series_indexes = new int[] {1};
	}
%>